package com.o2o.model.user;

import org.springframework.stereotype.Component;

import com.o2o.base.BaseModel;

@Component
public class UserProfile extends BaseModel{

	/**
	 * 用户详细信息类
	 */
	private static final long serialVersionUID = -4452073516563266600L;
	
	private long id;
	
	private String userName;//用户联系人姓名
	
	private String phoneNumber;//联系人电话
	
	private String userEmail;//邮箱
	
	private String fullAddressDetail;//全地址
	
	private long userId;//用户id
	
	private int areaCode;
	
	private String address;
	
	public int getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(int areaCode) {
		this.areaCode = areaCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}


	

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}


	

	public String getFullAddressDetail() {
		return fullAddressDetail;
	}

	public void setFullAddressDetail(String fullAddressDetail) {
		this.fullAddressDetail = fullAddressDetail;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "UserProfile [id=" + id + ", userName=" + userName
				+ ", phoneNumber=" + phoneNumber + ", userEmail=" + userEmail
				+ ", fullAddressDetail="
				+ fullAddressDetail + ", userId=" + userId + ", areaCode="
				+ areaCode + ", address=" + address + "]";
	}
	
	

}
